package com.yungu.swift.system.sys.model.param;

import com.yungu.swift.base.model.admin.AdminUuidParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author : cuixiuyin
 * @date : 2019/6/14
 */
@Data
@ApiModel
public class AdminResourceParam extends AdminUuidParam {

    @ApiModelProperty(value = "资源名称", required = true)
    private String resourceName;

    @ApiModelProperty(value = "资源的url", required = true)
    private String resourceUrl;

    @ApiModelProperty(value = "1主菜单, 2按钮", required = true, example = "1")
    private Integer resourceType;

    @ApiModelProperty(value = "备注", required = false)
    private String resourceRemark;

    @ApiModelProperty(value = "父资源", required = false)
    private String resourceParent;

    @ApiModelProperty(value = "排序", required = false, example = "0")
    private Integer resourceSort;

    @ApiModelProperty(value = "icon样式", required = false)
    private String menuIcon;
}
